import { NavBar } from "antd-mobile";

import { useNavigate } from "react-router-dom";
function Index() {
  const nav = useNavigate();

  const handleBack = () => {
    nav(-1); // 返回上一个页面
  };

  return (
    <div>
      <NavBar onBack={handleBack}>品牌专题</NavBar>
    </div>
  );
}

export default Index;
